<script setup lang="ts">
import { useRouter } from "vue-router"; //路由
const router = useRouter(); // 路由

function jump(url) {
  router.push(url);
}
</script>
<template>
  <a-config-provider
    :theme="{
      token: {
        colorPrimary: '#00b96b',
      },
    }"
  >
    <!-- <a-button type="link" @click="jump('/login')">登录</a-button> | 
<a-button type="link" @click="jump('/regist')">注册</a-button> | 
<a-button type="link" @click="jump('/example')">example</a-button> -->
    <router-view></router-view>
  </a-config-provider>
</template>
<style scoped></style>
